
package com.insigma.business.qrcode.soldier.dao;


import com.insigma.business.qrcode.common.annotation.Crypt;
import com.insigma.business.qrcode.soldier.entity.SoldierBasicModifyRecordDO;
import com.insigma.business.qrcode.soldier.request.SoldierBasicModifyRecordBSearcher;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Crypt(decryptFields = {"idCardNo", "", ""})
public interface SoldierBasicModifyRecordDao {

    
    List<SoldierBasicModifyRecordDO> search(final SoldierBasicModifyRecordBSearcher innerSearcher);

    
    SoldierBasicModifyRecordDO get(final String id);

    
    Integer insert(final SoldierBasicModifyRecordDO soldierBasicModifyRecordDO);

    
    Integer update(final SoldierBasicModifyRecordDO soldierBasicModifyRecordDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

}
